// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_SALES_DELIVERY_FEEDBACK
// * CreateDate    : 2011/9/27 11:24:18
// * Creater       : CodeSmith
// * LastChangeDate: 2011/9/27 11:24:18
// * LastChanger   : 2011/9/27 11:24:18
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class SalesDeliveryFeedbackTable : TableInfo
    {
		public const string C_TableName = "SALES_DELIVERY_FEEDBACK";
		
		public const string C_FEEDBACK_ID = "FEEDBACK_ID";
		public const string C_DELIVERY_ORDER_ID = "DELIVERY_ORDER_ID";
		public const string C_FEEDBACK_CODE = "FEEDBACK_CODE";
		public const string C_DELIVERY_PERSON = "DELIVERY_PERSON";
		public const string C_DELIVERY_DATE = "DELIVERY_DATE";
		public const string C_RECEIVED_PERSON = "RECEIVED_PERSON";
		public const string C_RECEIVED_DATE = "RECEIVED_DATE";
		public const string C_DELIVERY_TYPE = "DELIVERY_TYPE";
		public const string C_POST_NO = "POST_NO";
		public const string C_DELIVERY_AMOUNT = "DELIVERY_AMOUNT";
		public const string C_FEE_TYPE = "FEE_TYPE";
		public const string C_STATUS = "STATUS";
		public const string C_CREATED_DATE = "CREATED_DATE";
		public const string C_CREATED_BY = "CREATED_BY";
		public const string C_LAST_MODIFIED_DATE = "LAST_MODIFIED_DATE";
		public const string C_LAST_MODIFIED_BY = "LAST_MODIFIED_BY";
		
		public SalesDeliveryFeedbackTable()
        {
            _tableName = "SALES_DELIVERY_FEEDBACK";
        }
		
		protected static SalesDeliveryFeedbackTable _current;
        public static SalesDeliveryFeedbackTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new SalesDeliveryFeedbackTable();

            _current.Add(C_FEEDBACK_ID, new ColumnInfo(C_FEEDBACK_ID,"FeedbackId", true, typeof(string)));
            _current.Add(C_DELIVERY_ORDER_ID, new ColumnInfo(C_DELIVERY_ORDER_ID,"DeliveryOrderId", false, typeof(string)));
            _current.Add(C_FEEDBACK_CODE, new ColumnInfo(C_FEEDBACK_CODE,"FeedbackCode", false, typeof(string)));
            _current.Add(C_DELIVERY_PERSON, new ColumnInfo(C_DELIVERY_PERSON,"DeliveryPerson", false, typeof(string)));
            _current.Add(C_DELIVERY_DATE, new ColumnInfo(C_DELIVERY_DATE,"DeliveryDate", false, typeof(DateTime)));
            _current.Add(C_RECEIVED_PERSON, new ColumnInfo(C_RECEIVED_PERSON,"ReceivedPerson", false, typeof(string)));
            _current.Add(C_RECEIVED_DATE, new ColumnInfo(C_RECEIVED_DATE,"ReceivedDate", false, typeof(DateTime)));
            _current.Add(C_DELIVERY_TYPE, new ColumnInfo(C_DELIVERY_TYPE,"DeliveryType", false, typeof(string)));
            _current.Add(C_POST_NO, new ColumnInfo(C_POST_NO,"PostNo", false, typeof(string)));
            _current.Add(C_DELIVERY_AMOUNT, new ColumnInfo(C_DELIVERY_AMOUNT,"DeliveryAmount", false, typeof(decimal)));
            _current.Add(C_FEE_TYPE, new ColumnInfo(C_FEE_TYPE,"FeeType", false, typeof(string)));
            _current.Add(C_STATUS, new ColumnInfo(C_STATUS,"Status", false, typeof(string)));
            _current.Add(C_CREATED_DATE, new ColumnInfo(C_CREATED_DATE,"CreatedDate", false, typeof(DateTime)));
            _current.Add(C_CREATED_BY, new ColumnInfo(C_CREATED_BY,"CreatedBy", false, typeof(string)));
            _current.Add(C_LAST_MODIFIED_DATE, new ColumnInfo(C_LAST_MODIFIED_DATE,"LastModifiedDate", false, typeof(DateTime)));
            _current.Add(C_LAST_MODIFIED_BY, new ColumnInfo(C_LAST_MODIFIED_BY,"LastModifiedBy", false, typeof(string)));
			
		}
		
		public ColumnInfo FEEDBACK_ID
        {
            get { return this[C_FEEDBACK_ID]; }
        }
		
		public ColumnInfo DELIVERY_ORDER_ID
        {
            get { return this[C_DELIVERY_ORDER_ID]; }
        }
		
		public ColumnInfo FEEDBACK_CODE
        {
            get { return this[C_FEEDBACK_CODE]; }
        }
		
		public ColumnInfo DELIVERY_PERSON
        {
            get { return this[C_DELIVERY_PERSON]; }
        }
		
		public ColumnInfo DELIVERY_DATE
        {
            get { return this[C_DELIVERY_DATE]; }
        }
		
		public ColumnInfo RECEIVED_PERSON
        {
            get { return this[C_RECEIVED_PERSON]; }
        }
		
		public ColumnInfo RECEIVED_DATE
        {
            get { return this[C_RECEIVED_DATE]; }
        }
		
		public ColumnInfo DELIVERY_TYPE
        {
            get { return this[C_DELIVERY_TYPE]; }
        }
		
		public ColumnInfo POST_NO
        {
            get { return this[C_POST_NO]; }
        }
		
		public ColumnInfo DELIVERY_AMOUNT
        {
            get { return this[C_DELIVERY_AMOUNT]; }
        }
		
		public ColumnInfo FEE_TYPE
        {
            get { return this[C_FEE_TYPE]; }
        }
		
		public ColumnInfo STATUS
        {
            get { return this[C_STATUS]; }
        }
		
		public ColumnInfo CREATED_DATE
        {
            get { return this[C_CREATED_DATE]; }
        }
		
		public ColumnInfo CREATED_BY
        {
            get { return this[C_CREATED_BY]; }
        }
		
		public ColumnInfo LAST_MODIFIED_DATE
        {
            get { return this[C_LAST_MODIFIED_DATE]; }
        }
		
		public ColumnInfo LAST_MODIFIED_BY
        {
            get { return this[C_LAST_MODIFIED_BY]; }
        }
		
		
		
	}
}

